Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.template.jsf.codec--urlpatterns

This contribution is part of XML component org.nuxeo.template.jsf.codec inside nuxeo-template-rendering-jsf-9.10.jar /OSGI-INF/url-codec-contrib.xml

Documentation

Url pattern to access templates

Extension Point

Extension point urlpatterns of component URLService.

Contributed Items

  • <urlPattern enabled="true" name="template">
          <defaultURLPolicy>false</defaultURLPolicy>
          <needBaseURL>true</needBaseURL>
          <needRedirectFilter>false</needRedirectFilter>
          <needFilterPreprocessing>true</needFilterPreprocessing>
          <codecName>template</codecName>
          <actionBinding>#{templateRestHelper.render}</actionBinding>
          <documentViewBinding>#{restHelper.documentView}</documentViewBinding>
          <newDocumentViewBinding>#{restHelper.newDocumentView}
          </newDocumentViewBinding>
        </urlPattern>

XML Source

<extension point="urlpatterns" target="org.nuxeo.ecm.platform.ui.web.rest.URLService">
    <documentation>
      Url pattern to access templates
    </documentation>

    <urlPattern enabled="true" name="template">
      <defaultURLPolicy>false</defaultURLPolicy>
      <needBaseURL>true</needBaseURL>
      <needRedirectFilter>false</needRedirectFilter>
      <needFilterPreprocessing>true</needFilterPreprocessing>
      <codecName>template</codecName>
      <actionBinding>#{templateRestHelper.render}</actionBinding>
      <documentViewBinding>#{restHelper.documentView}</documentViewBinding>
      <newDocumentViewBinding>#{restHelper.newDocumentView}
      </newDocumentViewBinding>
    </urlPattern>

  </extension>